import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;
import java.io.PrintWriter;


public class ShowInformation extends GenericServlet {
    @Override
    public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException {
        response.setContentType("text/html;charset=utf-8");
        PrintWriter out=response.getWriter();
        out.println("<html><body>");
        out.println("<h1>个人信息</h1>");
        out.println("<ul type=\"disc\">");
        out.println("<li>专业：软件工程</li>");
        out.println("<li>班级：软件21-2班</li>");
        out.println("<li>学号：202103020225</li>");
        out.println("<li>姓名：唐浩天</li>");
        out.println("<li>性别：男</li>");
        out.println("<li>年龄：20</li>");
        out.println("</ul>");
        out.println("</body></html>");
    }
}
